package com.dc.gameserver.serverCore.model.dbsql.modelVo;

import java.util.ArrayList;
import java.util.List;

public class TSpriteExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer limitStart;

    protected Integer limitEnd;

    public TSpriteExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(Integer limitStart) {
        this.limitStart=limitStart;
    }

    public Integer getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(Integer limitEnd) {
        this.limitEnd=limitEnd;
    }

    public Integer getLimitEnd() {
        return limitEnd;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSpiriteidIsNull() {
            addCriterion("SPIRITEID is null");
            return (Criteria) this;
        }

        public Criteria andSpiriteidIsNotNull() {
            addCriterion("SPIRITEID is not null");
            return (Criteria) this;
        }

        public Criteria andSpiriteidEqualTo(Integer value) {
            addCriterion("SPIRITEID =", value, "spiriteid");
            return (Criteria) this;
        }

        public Criteria andSpiriteidNotEqualTo(Integer value) {
            addCriterion("SPIRITEID <>", value, "spiriteid");
            return (Criteria) this;
        }

        public Criteria andSpiriteidGreaterThan(Integer value) {
            addCriterion("SPIRITEID >", value, "spiriteid");
            return (Criteria) this;
        }

        public Criteria andSpiriteidGreaterThanOrEqualTo(Integer value) {
            addCriterion("SPIRITEID >=", value, "spiriteid");
            return (Criteria) this;
        }

        public Criteria andSpiriteidLessThan(Integer value) {
            addCriterion("SPIRITEID <", value, "spiriteid");
            return (Criteria) this;
        }

        public Criteria andSpiriteidLessThanOrEqualTo(Integer value) {
            addCriterion("SPIRITEID <=", value, "spiriteid");
            return (Criteria) this;
        }

        public Criteria andSpiriteidIn(List<Integer> values) {
            addCriterion("SPIRITEID in", values, "spiriteid");
            return (Criteria) this;
        }

        public Criteria andSpiriteidNotIn(List<Integer> values) {
            addCriterion("SPIRITEID not in", values, "spiriteid");
            return (Criteria) this;
        }

        public Criteria andSpiriteidBetween(Integer value1, Integer value2) {
            addCriterion("SPIRITEID between", value1, value2, "spiriteid");
            return (Criteria) this;
        }

        public Criteria andSpiriteidNotBetween(Integer value1, Integer value2) {
            addCriterion("SPIRITEID not between", value1, value2, "spiriteid");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeidIsNull() {
            addCriterion("SPIRITETYPEID is null");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeidIsNotNull() {
            addCriterion("SPIRITETYPEID is not null");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeidEqualTo(Integer value) {
            addCriterion("SPIRITETYPEID =", value, "spiritetypeid");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeidNotEqualTo(Integer value) {
            addCriterion("SPIRITETYPEID <>", value, "spiritetypeid");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeidGreaterThan(Integer value) {
            addCriterion("SPIRITETYPEID >", value, "spiritetypeid");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("SPIRITETYPEID >=", value, "spiritetypeid");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeidLessThan(Integer value) {
            addCriterion("SPIRITETYPEID <", value, "spiritetypeid");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeidLessThanOrEqualTo(Integer value) {
            addCriterion("SPIRITETYPEID <=", value, "spiritetypeid");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeidIn(List<Integer> values) {
            addCriterion("SPIRITETYPEID in", values, "spiritetypeid");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeidNotIn(List<Integer> values) {
            addCriterion("SPIRITETYPEID not in", values, "spiritetypeid");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeidBetween(Integer value1, Integer value2) {
            addCriterion("SPIRITETYPEID between", value1, value2, "spiritetypeid");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeidNotBetween(Integer value1, Integer value2) {
            addCriterion("SPIRITETYPEID not between", value1, value2, "spiritetypeid");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeIsNull() {
            addCriterion("SPIRITETYPE is null");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeIsNotNull() {
            addCriterion("SPIRITETYPE is not null");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeEqualTo(Byte value) {
            addCriterion("SPIRITETYPE =", value, "spiritetype");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeNotEqualTo(Byte value) {
            addCriterion("SPIRITETYPE <>", value, "spiritetype");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeGreaterThan(Byte value) {
            addCriterion("SPIRITETYPE >", value, "spiritetype");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("SPIRITETYPE >=", value, "spiritetype");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeLessThan(Byte value) {
            addCriterion("SPIRITETYPE <", value, "spiritetype");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeLessThanOrEqualTo(Byte value) {
            addCriterion("SPIRITETYPE <=", value, "spiritetype");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeIn(List<Byte> values) {
            addCriterion("SPIRITETYPE in", values, "spiritetype");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeNotIn(List<Byte> values) {
            addCriterion("SPIRITETYPE not in", values, "spiritetype");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeBetween(Byte value1, Byte value2) {
            addCriterion("SPIRITETYPE between", value1, value2, "spiritetype");
            return (Criteria) this;
        }

        public Criteria andSpiritetypeNotBetween(Byte value1, Byte value2) {
            addCriterion("SPIRITETYPE not between", value1, value2, "spiritetype");
            return (Criteria) this;
        }

        public Criteria andSpiritepinjieIsNull() {
            addCriterion("SPIRITEPINJIE is null");
            return (Criteria) this;
        }

        public Criteria andSpiritepinjieIsNotNull() {
            addCriterion("SPIRITEPINJIE is not null");
            return (Criteria) this;
        }

        public Criteria andSpiritepinjieEqualTo(Integer value) {
            addCriterion("SPIRITEPINJIE =", value, "spiritepinjie");
            return (Criteria) this;
        }

        public Criteria andSpiritepinjieNotEqualTo(Integer value) {
            addCriterion("SPIRITEPINJIE <>", value, "spiritepinjie");
            return (Criteria) this;
        }

        public Criteria andSpiritepinjieGreaterThan(Integer value) {
            addCriterion("SPIRITEPINJIE >", value, "spiritepinjie");
            return (Criteria) this;
        }

        public Criteria andSpiritepinjieGreaterThanOrEqualTo(Integer value) {
            addCriterion("SPIRITEPINJIE >=", value, "spiritepinjie");
            return (Criteria) this;
        }

        public Criteria andSpiritepinjieLessThan(Integer value) {
            addCriterion("SPIRITEPINJIE <", value, "spiritepinjie");
            return (Criteria) this;
        }

        public Criteria andSpiritepinjieLessThanOrEqualTo(Integer value) {
            addCriterion("SPIRITEPINJIE <=", value, "spiritepinjie");
            return (Criteria) this;
        }

        public Criteria andSpiritepinjieIn(List<Integer> values) {
            addCriterion("SPIRITEPINJIE in", values, "spiritepinjie");
            return (Criteria) this;
        }

        public Criteria andSpiritepinjieNotIn(List<Integer> values) {
            addCriterion("SPIRITEPINJIE not in", values, "spiritepinjie");
            return (Criteria) this;
        }

        public Criteria andSpiritepinjieBetween(Integer value1, Integer value2) {
            addCriterion("SPIRITEPINJIE between", value1, value2, "spiritepinjie");
            return (Criteria) this;
        }

        public Criteria andSpiritepinjieNotBetween(Integer value1, Integer value2) {
            addCriterion("SPIRITEPINJIE not between", value1, value2, "spiritepinjie");
            return (Criteria) this;
        }

        public Criteria andSpiritepinzhiIsNull() {
            addCriterion("SPIRITEPINZHI is null");
            return (Criteria) this;
        }

        public Criteria andSpiritepinzhiIsNotNull() {
            addCriterion("SPIRITEPINZHI is not null");
            return (Criteria) this;
        }

        public Criteria andSpiritepinzhiEqualTo(Integer value) {
            addCriterion("SPIRITEPINZHI =", value, "spiritepinzhi");
            return (Criteria) this;
        }

        public Criteria andSpiritepinzhiNotEqualTo(Integer value) {
            addCriterion("SPIRITEPINZHI <>", value, "spiritepinzhi");
            return (Criteria) this;
        }

        public Criteria andSpiritepinzhiGreaterThan(Integer value) {
            addCriterion("SPIRITEPINZHI >", value, "spiritepinzhi");
            return (Criteria) this;
        }

        public Criteria andSpiritepinzhiGreaterThanOrEqualTo(Integer value) {
            addCriterion("SPIRITEPINZHI >=", value, "spiritepinzhi");
            return (Criteria) this;
        }

        public Criteria andSpiritepinzhiLessThan(Integer value) {
            addCriterion("SPIRITEPINZHI <", value, "spiritepinzhi");
            return (Criteria) this;
        }

        public Criteria andSpiritepinzhiLessThanOrEqualTo(Integer value) {
            addCriterion("SPIRITEPINZHI <=", value, "spiritepinzhi");
            return (Criteria) this;
        }

        public Criteria andSpiritepinzhiIn(List<Integer> values) {
            addCriterion("SPIRITEPINZHI in", values, "spiritepinzhi");
            return (Criteria) this;
        }

        public Criteria andSpiritepinzhiNotIn(List<Integer> values) {
            addCriterion("SPIRITEPINZHI not in", values, "spiritepinzhi");
            return (Criteria) this;
        }

        public Criteria andSpiritepinzhiBetween(Integer value1, Integer value2) {
            addCriterion("SPIRITEPINZHI between", value1, value2, "spiritepinzhi");
            return (Criteria) this;
        }

        public Criteria andSpiritepinzhiNotBetween(Integer value1, Integer value2) {
            addCriterion("SPIRITEPINZHI not between", value1, value2, "spiritepinzhi");
            return (Criteria) this;
        }

        public Criteria andItemtypeIsNull() {
            addCriterion("ITEMTYPE is null");
            return (Criteria) this;
        }

        public Criteria andItemtypeIsNotNull() {
            addCriterion("ITEMTYPE is not null");
            return (Criteria) this;
        }

        public Criteria andItemtypeEqualTo(Byte value) {
            addCriterion("ITEMTYPE =", value, "itemtype");
            return (Criteria) this;
        }

        public Criteria andItemtypeNotEqualTo(Byte value) {
            addCriterion("ITEMTYPE <>", value, "itemtype");
            return (Criteria) this;
        }

        public Criteria andItemtypeGreaterThan(Byte value) {
            addCriterion("ITEMTYPE >", value, "itemtype");
            return (Criteria) this;
        }

        public Criteria andItemtypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("ITEMTYPE >=", value, "itemtype");
            return (Criteria) this;
        }

        public Criteria andItemtypeLessThan(Byte value) {
            addCriterion("ITEMTYPE <", value, "itemtype");
            return (Criteria) this;
        }

        public Criteria andItemtypeLessThanOrEqualTo(Byte value) {
            addCriterion("ITEMTYPE <=", value, "itemtype");
            return (Criteria) this;
        }

        public Criteria andItemtypeIn(List<Byte> values) {
            addCriterion("ITEMTYPE in", values, "itemtype");
            return (Criteria) this;
        }

        public Criteria andItemtypeNotIn(List<Byte> values) {
            addCriterion("ITEMTYPE not in", values, "itemtype");
            return (Criteria) this;
        }

        public Criteria andItemtypeBetween(Byte value1, Byte value2) {
            addCriterion("ITEMTYPE between", value1, value2, "itemtype");
            return (Criteria) this;
        }

        public Criteria andItemtypeNotBetween(Byte value1, Byte value2) {
            addCriterion("ITEMTYPE not between", value1, value2, "itemtype");
            return (Criteria) this;
        }

        public Criteria andOwneridIsNull() {
            addCriterion("OWNERID is null");
            return (Criteria) this;
        }

        public Criteria andOwneridIsNotNull() {
            addCriterion("OWNERID is not null");
            return (Criteria) this;
        }

        public Criteria andOwneridEqualTo(Integer value) {
            addCriterion("OWNERID =", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridNotEqualTo(Integer value) {
            addCriterion("OWNERID <>", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridGreaterThan(Integer value) {
            addCriterion("OWNERID >", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridGreaterThanOrEqualTo(Integer value) {
            addCriterion("OWNERID >=", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridLessThan(Integer value) {
            addCriterion("OWNERID <", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridLessThanOrEqualTo(Integer value) {
            addCriterion("OWNERID <=", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridIn(List<Integer> values) {
            addCriterion("OWNERID in", values, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridNotIn(List<Integer> values) {
            addCriterion("OWNERID not in", values, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridBetween(Integer value1, Integer value2) {
            addCriterion("OWNERID between", value1, value2, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridNotBetween(Integer value1, Integer value2) {
            addCriterion("OWNERID not between", value1, value2, "ownerid");
            return (Criteria) this;
        }

        public Criteria andSpiritecurrentIsNull() {
            addCriterion("SPIRITECURRENT is null");
            return (Criteria) this;
        }

        public Criteria andSpiritecurrentIsNotNull() {
            addCriterion("SPIRITECURRENT is not null");
            return (Criteria) this;
        }

        public Criteria andSpiritecurrentEqualTo(Integer value) {
            addCriterion("SPIRITECURRENT =", value, "spiritecurrent");
            return (Criteria) this;
        }

        public Criteria andSpiritecurrentNotEqualTo(Integer value) {
            addCriterion("SPIRITECURRENT <>", value, "spiritecurrent");
            return (Criteria) this;
        }

        public Criteria andSpiritecurrentGreaterThan(Integer value) {
            addCriterion("SPIRITECURRENT >", value, "spiritecurrent");
            return (Criteria) this;
        }

        public Criteria andSpiritecurrentGreaterThanOrEqualTo(Integer value) {
            addCriterion("SPIRITECURRENT >=", value, "spiritecurrent");
            return (Criteria) this;
        }

        public Criteria andSpiritecurrentLessThan(Integer value) {
            addCriterion("SPIRITECURRENT <", value, "spiritecurrent");
            return (Criteria) this;
        }

        public Criteria andSpiritecurrentLessThanOrEqualTo(Integer value) {
            addCriterion("SPIRITECURRENT <=", value, "spiritecurrent");
            return (Criteria) this;
        }

        public Criteria andSpiritecurrentIn(List<Integer> values) {
            addCriterion("SPIRITECURRENT in", values, "spiritecurrent");
            return (Criteria) this;
        }

        public Criteria andSpiritecurrentNotIn(List<Integer> values) {
            addCriterion("SPIRITECURRENT not in", values, "spiritecurrent");
            return (Criteria) this;
        }

        public Criteria andSpiritecurrentBetween(Integer value1, Integer value2) {
            addCriterion("SPIRITECURRENT between", value1, value2, "spiritecurrent");
            return (Criteria) this;
        }

        public Criteria andSpiritecurrentNotBetween(Integer value1, Integer value2) {
            addCriterion("SPIRITECURRENT not between", value1, value2, "spiritecurrent");
            return (Criteria) this;
        }

        public Criteria andDestoryIsNull() {
            addCriterion("DESTORY is null");
            return (Criteria) this;
        }

        public Criteria andDestoryIsNotNull() {
            addCriterion("DESTORY is not null");
            return (Criteria) this;
        }

        public Criteria andDestoryEqualTo(Byte value) {
            addCriterion("DESTORY =", value, "destory");
            return (Criteria) this;
        }

        public Criteria andDestoryNotEqualTo(Byte value) {
            addCriterion("DESTORY <>", value, "destory");
            return (Criteria) this;
        }

        public Criteria andDestoryGreaterThan(Byte value) {
            addCriterion("DESTORY >", value, "destory");
            return (Criteria) this;
        }

        public Criteria andDestoryGreaterThanOrEqualTo(Byte value) {
            addCriterion("DESTORY >=", value, "destory");
            return (Criteria) this;
        }

        public Criteria andDestoryLessThan(Byte value) {
            addCriterion("DESTORY <", value, "destory");
            return (Criteria) this;
        }

        public Criteria andDestoryLessThanOrEqualTo(Byte value) {
            addCriterion("DESTORY <=", value, "destory");
            return (Criteria) this;
        }

        public Criteria andDestoryIn(List<Byte> values) {
            addCriterion("DESTORY in", values, "destory");
            return (Criteria) this;
        }

        public Criteria andDestoryNotIn(List<Byte> values) {
            addCriterion("DESTORY not in", values, "destory");
            return (Criteria) this;
        }

        public Criteria andDestoryBetween(Byte value1, Byte value2) {
            addCriterion("DESTORY between", value1, value2, "destory");
            return (Criteria) this;
        }

        public Criteria andDestoryNotBetween(Byte value1, Byte value2) {
            addCriterion("DESTORY not between", value1, value2, "destory");
            return (Criteria) this;
        }

        public Criteria andSpritelocationIsNull() {
            addCriterion("SPRITELOCATION is null");
            return (Criteria) this;
        }

        public Criteria andSpritelocationIsNotNull() {
            addCriterion("SPRITELOCATION is not null");
            return (Criteria) this;
        }

        public Criteria andSpritelocationEqualTo(Byte value) {
            addCriterion("SPRITELOCATION =", value, "spritelocation");
            return (Criteria) this;
        }

        public Criteria andSpritelocationNotEqualTo(Byte value) {
            addCriterion("SPRITELOCATION <>", value, "spritelocation");
            return (Criteria) this;
        }

        public Criteria andSpritelocationGreaterThan(Byte value) {
            addCriterion("SPRITELOCATION >", value, "spritelocation");
            return (Criteria) this;
        }

        public Criteria andSpritelocationGreaterThanOrEqualTo(Byte value) {
            addCriterion("SPRITELOCATION >=", value, "spritelocation");
            return (Criteria) this;
        }

        public Criteria andSpritelocationLessThan(Byte value) {
            addCriterion("SPRITELOCATION <", value, "spritelocation");
            return (Criteria) this;
        }

        public Criteria andSpritelocationLessThanOrEqualTo(Byte value) {
            addCriterion("SPRITELOCATION <=", value, "spritelocation");
            return (Criteria) this;
        }

        public Criteria andSpritelocationIn(List<Byte> values) {
            addCriterion("SPRITELOCATION in", values, "spritelocation");
            return (Criteria) this;
        }

        public Criteria andSpritelocationNotIn(List<Byte> values) {
            addCriterion("SPRITELOCATION not in", values, "spritelocation");
            return (Criteria) this;
        }

        public Criteria andSpritelocationBetween(Byte value1, Byte value2) {
            addCriterion("SPRITELOCATION between", value1, value2, "spritelocation");
            return (Criteria) this;
        }

        public Criteria andSpritelocationNotBetween(Byte value1, Byte value2) {
            addCriterion("SPRITELOCATION not between", value1, value2, "spritelocation");
            return (Criteria) this;
        }

        public Criteria andSpiritperminutecreatIsNull() {
            addCriterion("SPIRITPERMINUTECREAT is null");
            return (Criteria) this;
        }

        public Criteria andSpiritperminutecreatIsNotNull() {
            addCriterion("SPIRITPERMINUTECREAT is not null");
            return (Criteria) this;
        }

        public Criteria andSpiritperminutecreatEqualTo(Integer value) {
            addCriterion("SPIRITPERMINUTECREAT =", value, "spiritperminutecreat");
            return (Criteria) this;
        }

        public Criteria andSpiritperminutecreatNotEqualTo(Integer value) {
            addCriterion("SPIRITPERMINUTECREAT <>", value, "spiritperminutecreat");
            return (Criteria) this;
        }

        public Criteria andSpiritperminutecreatGreaterThan(Integer value) {
            addCriterion("SPIRITPERMINUTECREAT >", value, "spiritperminutecreat");
            return (Criteria) this;
        }

        public Criteria andSpiritperminutecreatGreaterThanOrEqualTo(Integer value) {
            addCriterion("SPIRITPERMINUTECREAT >=", value, "spiritperminutecreat");
            return (Criteria) this;
        }

        public Criteria andSpiritperminutecreatLessThan(Integer value) {
            addCriterion("SPIRITPERMINUTECREAT <", value, "spiritperminutecreat");
            return (Criteria) this;
        }

        public Criteria andSpiritperminutecreatLessThanOrEqualTo(Integer value) {
            addCriterion("SPIRITPERMINUTECREAT <=", value, "spiritperminutecreat");
            return (Criteria) this;
        }

        public Criteria andSpiritperminutecreatIn(List<Integer> values) {
            addCriterion("SPIRITPERMINUTECREAT in", values, "spiritperminutecreat");
            return (Criteria) this;
        }

        public Criteria andSpiritperminutecreatNotIn(List<Integer> values) {
            addCriterion("SPIRITPERMINUTECREAT not in", values, "spiritperminutecreat");
            return (Criteria) this;
        }

        public Criteria andSpiritperminutecreatBetween(Integer value1, Integer value2) {
            addCriterion("SPIRITPERMINUTECREAT between", value1, value2, "spiritperminutecreat");
            return (Criteria) this;
        }

        public Criteria andSpiritperminutecreatNotBetween(Integer value1, Integer value2) {
            addCriterion("SPIRITPERMINUTECREAT not between", value1, value2, "spiritperminutecreat");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}